<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        [href*="download"] {
            background-color: pink;
        }

    </style>
</head>

<body>
    <a href="/files/download/1">下载1</a>
    <a href="/view/2">查看</a>
</body>

</html>